﻿using System.Diagnostics.CodeAnalysis;

namespace Bdcs.Application.Mappers.Dto
{
    public class RouteTimeDto
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Rkey { get; set; }
        
        /// <summary>
        /// 围栏编号
        /// </summary>
        public string RegionID { get; set; }

        /// <summary>
        /// 围栏名称
        /// </summary>
        public string RouteName { get; set; }
        
        /// <summary>
        /// 开始时间
        /// </summary>
        public string  StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string  EndTime { get; set; }
    }

    public class RouteTimeInput
    {
        // int pageIndex,int pageSize,string userId
        /// <summary>
        /// 主键,update的时候使用
        /// </summary>
        [NotNull]
        public string Id { get; set; }
        /// <summary>
        /// 围栏编号,修改时传入该值无效,对应的围栏不会更改
        /// </summary>
        [NotNull]
        public string RegionId { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        [NotNull]
        public string StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public string OpUser { get; set; }

        /// <summary>
        /// 操作类型 0-新增 1-更新
        /// </summary>
        public string Opmode { get; set; }
        
    }
}